package cn.wsw.hrm.mapper;

import cn.wsw.hrm.domain.Course;
import cn.wsw.hrm.query.CourseQuery;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wsw
 * @since 2020-02-20
 */
public interface CourseMapper extends BaseMapper<Course> {
    //获取分页+高级查询的list
    List<Course> getList(Page page, CourseQuery query);
    //上线下线
    void onLine(Map<String, Object> params);

    void offLine(Map<String, Object> params);

}
